judge (someone) by (their) cover

Translations
судить (кого-то) по обложке
You shouldn't judge a book by its cover.
Не стоит судить книгу по обложке.
Definitions
To form an opinion about someone based solely on their outward appearance or first impression, rather than getting to know their true character or abilities.